package com.cdie.myschool.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.Date;

/**
 * @author 朱华扬
 * @date 2022/10/4 11:04
 * @Description
 */
@Data
public class Student {
    @TableField(value = "id")
    private int id;    //主键id

    @TableField(value = "student_code")
    private String studentCode; //学号

    @TableField(value = "student_name")
    private String studentName; //姓名

    @TableField(value = "student_grade")
    private String studentGrade;    //年级

    @TableField(value = "student_class_code")
    private String studentClassCode;  //班级编码

    @TableField(value = "student_major_code")
    private String studentMajorCode;  //专业编码

    @TableField(value = "department_code")
    private String departmentCode;    //院系所号

    @TableField(value = "student_in")
    private Byte studentIn;     //是否在校

    @TableField(value = "admission_date")
    private Date admissionDate;    //入学日期

    @TableField(value = "school_roll_status")
    private Byte schoolRollStatus;  //学籍状态码

    @TableField(value = "timestamp")
    private Date timestamp;     //时间戳
}
